import myAxios from '@/request.js'

export const userlogin = async (params) => {
  return await myAxios.request({
    url: '/api/user/login',
    method: 'get',
    params: params,
  })
}

export const userLogout = async () => {
  return await myAxios.request({
    url: '/api/user/logout',
    method: 'post',
  })
}

export const getuserListPage = (param) => {
  return myAxios.request({
    url: '/api/user/getuserlist',
    method: 'post',
    data: param,
  })
}
